package com.lex.cheeseStrip.app;

import android.app.Application;

import com.baidu.mapapi.SDKInitializer;
import com.dh.cheesestrip.Config;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by M.c on 2015/12/29.
 */
public class BaseApplication extends Application {


    @Override
    public void onCreate() {
        super.onCreate();
        Config.init(this);
        SDKInitializer.initialize(getApplicationContext());//初始化百度地图
        //初始化极光
        JPushInterface.setDebugMode(true);
        JPushInterface.init(getApplicationContext());
    }
}
